package lab02.test05;
public class Box {
    //属性：立方体的长、宽和高
     double length;
     double width;
     double high;
     double v;
     //行为:变量进行初始化和求体积
    Box(double a,double b,double  c){
       length=a;
       width=b;
        high=c;
    }
    //体积
   double v(){
        v=length*width*high;
        return v;
    }
}
